import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
Vue.use(ElementUI)
// 引入功能
import Vant, { Lazyload } from 'vant'

// 引入样式
import 'vant/lib/index.css'
// 注册vant
Vue.use(Vant)
Vue.use(Lazyload, {
  lazyComponent: true,
})

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount('#app')
